home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Auge 4000 / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).zip / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).adf / arp-pro1.3 / OLD_MANUAL / ReleaseResidentPrg < prev    next >
Text File  |  1990-06-22  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4.      ReleaseResidentPrg(33.4) ARP Prog Manual ReleaseResidentPrg(33.4)
  5.  
  6.  
  7.  
  8.      NAME
  9.       ReleaseResidentPrg --    If segment is resident,    decrement
  10.           usage    count.
  11.  
  12.      SYNOPSIS
  13.       node = ReleaseResidentPrg(Segment)
  14.                       d1
  15.  
  16.      FUNCTION
  17.       Since    each resident program may have more than one user at a
  18.       time,    a running usage    count of the current users is
  19.       maintained.  This can    be checked, for    example, before
  20.       attempting removal, to see if    it is possible to remove.
  21.       This function    searches the resident list for a node which
  22.       contains the Segment,    and if found, decrements its usage
  23.       count.
  24.  
  25.       For a    general    discussion on ARP's resident list, see the
  26.       manual page for AddResidentPrg().
  27.  
  28.      INPUTS
  29.       Segment - Pointer to a loaded    code segment.
  30.  
  31.      RESULT
  32.       node - The corresponding resident node if found.  This value
  33.           should not be    used other than    as true    or false,
  34.           however, since there is no lock on the list after
  35.           this function    returns.
  36.  
  37.      BUGS
  38.       None known
  39.  
  40.      SEE ALSO
  41.       ObtainResidentPrg(), AddResidentPrg(),LoadPrg(),UnLoadPrg(),
  42.       CheckSumPrg(), RemResidentPrg(), BaseName().
  43.  
  44.      AUTHOR
  45.       SDB
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                         (printed 2/22/88)
  64.  
  65.  
  66.  
  67.